﻿#ifndef JSLEXER_H
#define JSLEXER_H

#include "global/const.h"

#if USE_QSCI

#include <Qsci/qscilexerjavascript.h>

class JsLexer : public QsciLexerJavaScript
{
public:

    explicit JsLexer(QObject* parent=nullptr);

protected:
    void initFont();
    void initKeywordsAndApis();

    const char *keywords(int set) const override;
};

#endif // USE_QSCI

#endif // JSLEXER_H
